package com.siwei.mes.mapper;

import com.siwei.mes.common.base.BaseMapper;
import com.siwei.mes.entity.experiment.ItemorderExtend;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 品控小票扩展表(ItemorderExtend)表数据库访问层
 *
 * @author linzi
 * @since 2024-11-15 22:33:26
 */
public interface ItemorderExtendMapper extends BaseMapper<ItemorderExtend> {
    /**
     * 获取所有
     *
     * @param entity
     * @return
     */
    List<ItemorderExtend> getList(ItemorderExtend entity);

    /**
     * 根据id获取
     *
     * @param id
     * @return
     */
    ItemorderExtend loadById(@Param("id") Long id);

    /**
     * 根据itemorderNo查询小票扩展信息
     *
     * @param itemorderno
     * @return
     */
    ItemorderExtend selectByItemorderNo(@Param("itemorderno") String itemorderno);
}
